.class public final Lcom/ninesky/browser/view/aa;
.super Lcom/ninesky/browser/view/w;


# instance fields
.field private b:Landroid/widget/CompoundButton;

.field private c:Landroid/widget/CompoundButton$OnCheckedChangeListener;


# direct methods
.method public constructor <init>(Landroid/content/Context;)V
    .locals 2

    invoke-direct {p0, p1}, Lcom/ninesky/browser/view/w;-><init>(Landroid/content/Context;)V

    const v0, 0x7f0c000e

    invoke-virtual {p0, v0}, Lcom/ninesky/browser/view/aa;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/CompoundButton;

    iput-object v0, p0, Lcom/ninesky/browser/view/aa;->b:Landroid/widget/CompoundButton;

    iget-object v0, p0, Lcom/ninesky/browser/view/aa;->b:Landroid/widget/CompoundButton;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/CompoundButton;->setVisibility(I)V

    new-instance v0, Lcom/ninesky/browser/view/i;

    invoke-direct {v0, p0}, Lcom/ninesky/browser/view/i;-><init>(Lcom/ninesky/browser/view/aa;)V

    iput-object v0, p0, Lcom/ninesky/browser/view/aa;->c:Landroid/widget/CompoundButton$OnCheckedChangeListener;

    return-void
.end method

.method static synthetic a(Lcom/ninesky/browser/view/aa;)Landroid/content/Context;
    .locals 1

    iget-object v0, p0, Lcom/ninesky/browser/view/aa;->mContext:Landroid/content/Context;

    return-object v0
.end method


# virtual methods
.method public final a(Z)V
    .locals 2

    iget-object v0, p0, Lcom/ninesky/browser/view/aa;->b:Landroid/widget/CompoundButton;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/CompoundButton;->setOnCheckedChangeListener(Landroid/widget/CompoundButton$OnCheckedChangeListener;)V

    iget-object v0, p0, Lcom/ninesky/browser/view/aa;->b:Landroid/widget/CompoundButton;

    invoke-virtual {v0, p1}, Landroid/widget/CompoundButton;->setChecked(Z)V

    iget-object v0, p0, Lcom/ninesky/browser/view/aa;->b:Landroid/widget/CompoundButton;

    iget-object v1, p0, Lcom/ninesky/browser/view/aa;->c:Landroid/widget/CompoundButton$OnCheckedChangeListener;

    invoke-virtual {v0, v1}, Landroid/widget/CompoundButton;->setOnCheckedChangeListener(Landroid/widget/CompoundButton$OnCheckedChangeListener;)V

    return-void
.end method
